package com.ruoyi.resume.domain.model.resumeProfile;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.YearMonth;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "实习经历实体类")
public class InternshipExperience {

    @ApiModelProperty(value = "公司名称", example = "腾讯科技")
    private String companyName;

    @ApiModelProperty(value = "职位", example = "软件开发实习生")
    private String jobTitle;

    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "起始时间", example = "2021-07")
    private YearMonth startTime;

    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "终止时间（如果是9999-01，则表示至今）", example = "2021-09")
    private YearMonth endTime;

    @ApiModelProperty(value = "项目名称", example = "微信支付系统优化")
    private String projectName;

    @ApiModelProperty(value = "项目描述", example = "参与微信支付系统的性能优化工作，提升了系统的并发处理能力。")
    private String projectDescription;

    @ApiModelProperty(value = "部门", example = "技术研发部")
    private String department;
}